#@layout("提现订单")
#define main()
<body class="timo-layout-page">
    <div class="layui-card">
        <div class="layui-card-header timo-card-header">
            <span><i class="fa fa-bars"></i>提现订单</span>
            <i class="layui-icon layui-icon-refresh refresh-btn"></i>
        </div>
        <div class="layui-card-body">
            <div class="layui-row timo-card-screen">
                <div class="pull-left layui-form-pane timo-search-box">
                	<div class="layui-inline">
                        <label class="layui-form-label">订单状态</label>
                        <div class="layui-input-block timo-search-status">
                            <select class="timo-search-select" name="recommendOrder.status" >
                            	<option value="">选择</option>
                            	#for(item : joyDict.getDictList('recommend_order_status'))
                            	<option value="#(item.dictValue)" #if(recommendOrder.status!=null && item.dictValue==(recommendOrder.status.toString())) selected="selected" #end >#(item.dictName)</option>
                            	#end
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">openId</label>
                        <div class="layui-input-block">
                            <input type="text" name="recommendOrder.openid" value="#(recommendOrder.openid ??)" placeholder="请输入openid" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">用户呢称</label>
                        <div class="layui-input-block">
                            <input type="text" name="recommendOrder.nickName" value="#(recommendOrder.nickName ??)" placeholder="请输入用户呢称" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <button class="layui-btn timo-search-btn">
                            <i class="fa fa-search"></i>
                        </button>
                    </div>
                </div>
            </div>
            <table class="layui-table timo-table">
                <thead>
                <tr>
                    <th class="timo-table-checkbox">
                        <label class="timo-checkbox"><input type="checkbox"><i class="layui-icon layui-icon-ok"></i></label>
                    </th>
                    <th>openid</th>
                    <th>用户昵称</th>
                    <th>订单号</th>
                    <th>提现金额</th>
                    <th>订单状态</th>
                    <th>申请时间</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                #for(item : page.list)
                <tr>
                    <td><label class="timo-checkbox"><input type="checkbox" value="#(item.id)"><i class="layui-icon layui-icon-ok"></i></label></td>
                    <td>#(item.openid)</td>
                    <td>#(item.nickName)</td>
                    <td>#(item.orderNo)</td>
                    <td>#number(item.transAmt,"#.###")</td>
                    <td>#(joyDict.getDictLabel(item.status.toString(),'recommend_order_status','未知'))</td>
                    <td>#date(item.createTime, "yyyy-MM-dd HH:mm:ss")</td>
                    <td>
                    	#if(item.status == joyDict.getDictValue(cn.joytur.common.mvc.constant.DictAttribute::RECOMMEND_ORDER_STATUS_APPLY,'recommend_order_status','1').toLong())
                       	<a class="open-popup" data-title="打款处理" data-url="#(ctxAd)/recommend/order/paycash/#(item.id)" data-size="410,400" href="#">处理打款</a>
                        #else
                       	<a class="open-popup" data-title="打款码" data-url="#(ctxAd)/recommend/order/paycash/#(item.id)?view=1" data-size="410,400" href="#">查看打款码</a>
                        #end
                    </td>
                </tr>
                #end
                </tbody>
            </table>
            <!-- page -->
            #include("../../common/page.html", url=pageUrl)
            <!-- page end -->
        </div>
    </div>
</body>
#end